/************************************************
 * Author       :   XXY
 * Blog         :   https://www.cnblogs.com/jzyl
 * Gitee        :   https://gitee.com/xiaobaichong
 * Email        :   1047185209@QQ.com
 * FileName     :   OtherTools.cs
 * CreateData   :   2023/5/18 15:43:57
 * UnityVersion :   2021.3.20f1c1
 * Description  :   描述
************************************************/

using Main;
using System.IO;
using UnityEditor;
using UnityEngine;

public class OtherTools
{
    [MenuItem("Tools/Other Tools/打开 Persistent Data Dir")]
    private static void OpenPersistentDataPath()
    {
        FileUtility.OpenExplorer(PathConfig.LocalABStorePath);
    }
    [MenuItem("Tools/Other Tools/Open C# Project")]
    private static void OpenScriptProject()
    {
        EditorApplication.ExecuteMenuItem("Assets/Open C# Project");
    }
    [MenuItem("Tools/Other Tools/AssetBundle Browser")]
    private static void OpenAssetBundleBrowser()
    {
        EditorApplication.ExecuteMenuItem("Window/AssetBundle Browser");
    }
    [MenuItem("Tools/Other Tools/Package Manager")]
    private static void OpenPackageManager()
    {
        EditorApplication.ExecuteMenuItem("Window/Package Manager");
    }
}